.index-container {
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* 页面头部 */
.page-header {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  width: 100%;
}

.header-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.header-actions {
  display: flex;
  align-items: center;
}

.welcome-text {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #666;
}

.header-actions {
  display: flex;
  align-items: center;
}





/* 消息区域 */
.messages-section {
  flex: 1;
  background-color: #fff;
  margin-top: 12px;
}

.message-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.message-item:hover {
  background-color: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.message-item:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.message-item.unread {
  background-color: #f0f9ff;
  border-left: 3px solid #1890ff;
}

.message-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  font-size: 24px;
  background-color: #f5f5f5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unread-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #ff4d4f;
  border-radius: 50%;
  border: 2px solid #fff;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.message-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.priority-badge {
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  margin-left: 8px;
}

.message-content {
  margin-left: 0;
}

.message-text {
  margin: 0 0 8px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.message-sender {
  color: #1890ff;
  font-weight: 500;
}

.message-time {
  color: #999;
}

/* 快捷操作 */
.quick-actions {
  padding: 20px 16px;
  background-color: #fff;
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.quick-actions .adm-button {
  flex: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .message-item {
    padding: 12px;
  }
  
  .message-title {
    font-size: 15px;
  }
  
  .message-text {
    font-size: 13px;
  }
}

